﻿<dxc:DXWindow x:Class="ThanNhanTao.frmBienCheChucVuNgachBacLuong"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
        dxc:ThemeManager.ThemeName="Office2007Blue"
        Title="II.Biên chế, chức vụ, ngạch, bậc lương"
        WindowState="Maximized" Width="790" Height="550">
    <dxc:DXWindow.Resources>
        <Style TargetType="Label">
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="dxe:DateEdit">
            <Setter Property="Margin" Value="2,2" />
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
        <Style TargetType="dxe:TextEdit">
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Margin" Value="2,2"/>
        </Style>
        <Style TargetType="dxe:ComboBoxEdit">
            <Setter Property="FontSize" Value="13" />
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Margin" Value="2,2"/>
        </Style>
        <Style TargetType="RadioButton">
            <Setter Property="Margin" Value="2,2" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="GroupBox">
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
    </dxc:DXWindow.Resources>
    <ScrollViewer VerticalScrollBarVisibility="Auto">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="275"></RowDefinition>
                <RowDefinition Height="40"></RowDefinition>
                <RowDefinition Height="100*"></RowDefinition>
            </Grid.RowDefinitions>
            <GroupBox Grid.Row="0" Header="II.Biên chế, chức vụ, ngạch, bậc lương">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="26"></RowDefinition>
                        <RowDefinition Height="3*" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="60"></ColumnDefinition>
                        <ColumnDefinition Width="130" />
                        <ColumnDefinition Width="130" />
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="130" />
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="56*" />
                    </Grid.ColumnDefinitions>
                    <Label Content="Diện:" Foreground="Red"/>
                    <RadioButton Content="Biên chế 2a" Grid.Row="0" Grid.Column="1" Name="rdoBienChe2a"/>
                    <RadioButton Content="HĐ Thành phố" Grid.Row="1" Grid.Column="1" Name="rdoHDThanhPho"/>
                    <RadioButton Content="Chỉ tiêu biên chế" Grid.Row="2" Grid.Column="1" Name="rdoChiTieuBienChe"/>
                    <RadioButton Content="Khá, giỏi, thu hút" Grid.Row="0" Grid.Column="2" Name="rdoKhaGioiThuHut"/>
                    <RadioButton Content="HĐ Bệnh viện" Grid.Row="1" Grid.Column="2" Name="rdoHDBenhVien"/>
                    <Label Content="Tuyển dụng chính thức:" Foreground="Red" Grid.Row="3" Grid.ColumnSpan="2"/>
                    <dxe:DateEdit Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" 
                              Name="deTuyenDungChinhThuc" DisplayFormatString="dd/MM/yyyy" Mask="dd/MM/yyyy" MaskCulture="vi-VN" 
                              Margin="90,2,2,2" Width="110" HorizontalAlignment="Left"/>
                    <Label Content="Đối tượng đặc biệt:" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2"/>
                    <RadioButton Content="Đối tượng 47" Grid.Row="5" Grid.Column="1" Name="rdoDoiTuong47" Grid.ColumnSpan="2" />
                    <RadioButton Content="Đối tượng 393" Grid.Row="6" Grid.Column="1" Name="rdoDoiTuong393" Grid.ColumnSpan="2"  />
                    <RadioButton Content="Đối tượng thu hút." Grid.Row="7" Grid.Column="1" Name="rdoDoiTuongThuHut" Grid.ColumnSpan="2" />
                    <Label Content="Đối tượng:" Foreground="Red" Grid.Row="7" Grid.Column="2"/>
                    <dxe:TextEdit Grid.Column="2" Grid.Row="7" Grid.ColumnSpan="5"
                              Name="txtDoiTuong" MaxLength="500" Margin="80,2,2,2"
                              CausesValidation="True" InvalidValueBehavior="AllowLeaveEditor"/>
                    <Label Content="Số quyết định:" Grid.Row="8" Grid.Column="1"/>
                    <dxe:TextEdit Grid.Column="1" Grid.Row="8" Grid.ColumnSpan="2" Margin="90,2,2,2"
                              Name="txtSoQuyetDinh" MaxLength="50"/>
                    <Label Content="Ký hợp đồng ngày:" Grid.Row="8" Grid.Column="3"/>
                    <dxe:DateEdit Grid.Column="4" Grid.Row="8" 
                              Name="deKyHopDongNgay" DisplayFormatString="dd/MM/yyyy" Mask="dd/MM/yyyy" MaskCulture="vi-VN" />
                </Grid>
            </GroupBox>
            <Grid Background="#FFC9E8F6" Grid.Row="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="4" />
                    <RowDefinition Height="30" />
                    <RowDefinition Height="4" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="3" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="281*" />
                    <ColumnDefinition Width="80" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="8" />
                    <ColumnDefinition Width="75" />
                    <ColumnDefinition Width="3" />
                </Grid.ColumnDefinitions>
                <Button Name="btnThemMoi" Click="btnThemMoi_Click" Content="_Thêm mới" Grid.Column="3" Grid.Row="1" IsEnabled="False" />
                <Button Name="btnLuu" Click="btnLuu_Click" Content="_Lưu" Grid.Column="5" Grid.Row="1" IsEnabled="False" />
                <Button Name="btnInPhieu" Click="btnInPhieu_Click" Content="_In phiếu" Grid.Column="1" Grid.Row="1"/>
                <Button Name="btnDong" Click="btnDong_Click" Content="Đó_ng" Grid.Column="9" Grid.Row="1"/>
                <Button Name="btnXoa" Click="btnXoa_Click" Content="_Xóa" Grid.Column="7" Grid.Row="1" IsEnabled="False"/>
            </Grid>
        </Grid>
    </ScrollViewer>
</dxc:DXWindow>
